<?php
namespace app\validate;
use think\Validate;

class SellerAppeal extends Validate
{
    protected $rule = [
        'id'          =>'require|number|integer',
        'content' => 'require',
        'img' => 'require',
    ];

    protected $message = [
        'id.require' => '订单ID必须',
        'id.number' => '订单ID为数字',
        'id.integer' => '订单ID为整数',
        'content.require' => '描述内容不能为空',
        'img.require' => '申诉凭证不能为空',
    ];
}


